package com.rlyy.rsj.service;


import com.rlyy.rsj.dao.BilDao;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.Map;

public class BilService {
    private static final BilService instance = new BilService();
    private static final BilDao bilDao = BilDao.getInstance();

    public static BilService getInstance() {
        return instance;
    }


    public int insertBilCurMonth(String orgId, Map<String, Object> mapNode) throws Exception{
        return bilDao.insertBilCurMonth(orgId, mapNode);
    }

    public void updateCure(Connection conn) throws SQLException {
        bilDao.updateCure(conn);
    }
}
